import QtQuick
import QtQuick.Particles

Rectangle {
    id: root
    width: 400
    height: 400
    color: "black"

    ParticleSystem {
        id: particleSystem
        anchors.fill: parent

        ImageParticle {
            source: "qrc:/images/dot.png"
        }

        Emitter {
            anchors.centerIn: parent
            width: 1
            height: 1
            emitRate: 80
            lifeSpan: 2000
            size: 16

            velocity: AngleDirection {
                angle: 0
                angleVariation: 360
                magnitude: 120
                magnitudeVariation: 40
            }
        }
    }
} 
